package config

type Config struct {
	// 选择的目录
	Folder    string      `json:"folder" mapstructure:"folder"`
	MysqlInfo MySqlConfig `json:"mysqlInfo" mapstructure:"mysql"`
}

type MySqlConfig struct {
	Name     string `json:"name" mapstructure:"name"`
	Host     string `json:"host" mapstructure:"host"`
	Port     uint   `json:"port" mapstructure:"port"`
	Password string `json:"password" mapstructure:"password"`
	DbName   string `json:"dbName" mapstructure:"dbName"`
}
